* {
  margin: 0;
  padding: 0;
}
@import "./animate.css";

img {
  display: block;
  height: 100%;
  width: 100%;
}
.dialog {
  font-size: 0.12rem;
  height: 100%;
  z-index: 9999;
  .dialogItem {
    background: #fff;
    border-radius: 0.31rem;
    position: absolute;
    top: 1rem;
    padding: 0.05rem 0.1rem;
    span {
      word-wrap: wrap;
      word-break: break-all;
    }
  }
  .dialogItem-small {
    background: #fff;
    border-radius: 0.2rem;
    position: absolute;
    top: 2rem;
    // padding: .1rem .2rem;
  }
  .dialogItem-large {
    background: #fff;
    border-radius: 0.2rem;
    position: absolute;
    bottom: 0.2rem;
    left: 0.2rem;
    // padding: .1rem .2rem;
  }
  .left_top {
    border-top-left-radius: 0rem;
  }
  .top_right {
    border-top-right-radius: 0rem;
  }
  .bottom-right {
    border-bottom-right-radius: 0rem;
  }
  .bottom-left {
    border-bottom-left-radius: 0rem;
  }
}

@keyframes daiyuFly {
  from {
    opacity: 0.6;
    top: 2.7rem;
    left: 1.88rem;
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0;
  }

  20% {
    opacity: 0.7;
    top: 1.2rem;
    left: 1.68rem;
  }

  70% {
    opacity: 0.8;
    top: 0rem;
    left: 0.48rem;
  }

  to {
    top: 0.1rem;
    left: 0.38rem;
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

.daiyuFly {
  display: block !important;
  -webkit-animation-duration: 1.5s;
  animation-duration: 1.5s;
  -webkit-animation-name: daiyuFly;
  animation-name: daiyuFly;
}
